ENDUPLEX -- Startup/Endup control lexfile. Adds ENDUP, ENDUP$, and STARTUP$ to BASIC. Size: 252 bytes. The built-in STARTUP statement puts a string of BASIC commands into a special buffer that gets executed automatically at power-up. ENDUP is similar, but the specified string gets executed at power-down. This is true whether the power-down is due to pressing the OFF key, execution of OFF or BYE from the keyboard, or even if the HP-71 times out and automatically goes to sleep after ten minutes of inactivity. (Inactive in CALC mode, but active in FORTH mode). ENDUP$ returns the contents of the ENDUP buffer. STARTUP$ returns the contents of the STARTUP buffer. *** ENDUPLEX *** (31CF6) File Header (31D81) Poll Handler (31EC1) 71/10 ENDUP$ fn (31E0A) 71/11 ENDUP (31EB7) 71/12 STARTUP$ fn (31F13) Next File Header